package hellfire.system.graphics;

import hellfire.system.engine.Main;

/**
 * Represents coordinates in range ([-1, +1],[-1, +1])
 *
 */
public class GLRelVec2 extends GLVec2
{
	public GLRelVec2(GLVec2 v)
	{
		super(v.x() * GLRenderer.ASP, v.y());
	}
	
	public GLRelVec2(double x, double y)
	{
		super(x * GLRenderer.ASP, y);
	}
	
	public GLRelVec2(float x, float y)
	{
		super(x * GLRenderer.ASP, y);
	}
	
	public GLRelVec2(float[] pos)
	{
		super(pos[0] * GLRenderer.ASP, pos[1]);
	}
}
